package com.jetpackmvp.module

import androidx.lifecycle.LiveData
import com.jetpackmvp.base.BaseContract
import okhttp3.RequestBody

/**
 * @author: GY.LEE
 * @date: 2019-06-06
 * @Des:
 */

interface UserContract {

    interface View : BaseContract.IBaseView {
        fun showUserSuccess()
        fun showUserFailed()
    }

    interface Presenter : BaseContract.IBasePresenter<View> {
        fun getUser(params: RequestBody): LiveData<String>
    }
}